package com.ruoyi.project.dj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 支部标准化 - 电子台账表
 */
public class DjStandardElectronicRecord {
    private static final long serialVersionUID = 1L;

    /** 台账 ID */
    private Integer id;
    
    /** 台账标题 */
    private String title;
    
    /** 台账内容 */
    private String content;
    
    /** 附件存储路径 */
    private String filePath;
    
    /** 文件类型 */
    private String fileType;
    
    /** 关联分类 ID */
    private Integer categoryId;
    
    /** 外部系统 ID */
    private String externalSystemId;
    
    /** 发布日期 */
    private String publishDate;
    
    /** 查看次数 */
    private Integer viewCount;
    
    /** 下载次数 */
    private Integer downloadCount;
    
    /** 创建时间 */
    private String createdAt;
    
    /** 更新时间 */
    private String updatedAt;

    // getter and setter methods
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getExternalSystemId() {
        return externalSystemId;
    }

    public void setExternalSystemId(String externalSystemId) {
        this.externalSystemId = externalSystemId;
    }

    public String getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("content", getContent())
                .append("filePath", getFilePath())
                .append("fileType", getFileType())
                .append("categoryId", getCategoryId())
                .append("externalSystemId", getExternalSystemId())
                .append("publishDate", getPublishDate())
                .append("viewCount", getViewCount())
                .append("downloadCount", getDownloadCount())
                .append("createdAt", getCreatedAt())
                .append("updatedAt", getUpdatedAt())
                .toString();
    }
}